package com.p595263720.o_amap.search.model;

import com.amap.api.maps.model.LatLng;
import com.amap.api.services.poisearch.SubPoiItem;

public class UnifiedSubPoiItem {
    String poiId;
    String title;
    String subName;
    int distance;
    LatLng latLonPoint;
    String snippet;
    String subTypeDes;

    public UnifiedSubPoiItem(SubPoiItem subPoiItem) {
        this.poiId = subPoiItem.getPoiId();
        this.title = subPoiItem.getTitle();
        this.distance = subPoiItem.getDistance();
        this.subName = subPoiItem.getSubName();
        this.latLonPoint =UnifiedSearchBound.toLatLng(subPoiItem.getLatLonPoint());
        this.snippet = subPoiItem.getSnippet();
        this.subTypeDes =subPoiItem.getSubTypeDes();
    }
}
